A=[-3 1; 6 -2; 6 -2]
B=A'*A
[P,D]=eigs(B)

[U,S,V]=svd(A)
B=A*V
B(:,1)/S(1,1)

U*S*V'
A

